package com.wanmait.hr.mapper;

import com.wanmait.hr.vo.Record;
import com.wanmait.hr.vo.User;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;

public interface RecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Record record);

    int insertSelective(Record record);

    Record selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Record record);

    int updateByPrimaryKey(Record record);
    void addRecord(@Param("user") User user, @Param("time") Timestamp time);//档案表添加

    Record checkRecord( int id);//查看个人档案--陈正儒
}